package com.starlink.model.request;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.starlink.common.PageQueryRequest;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @author zhanghong
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel("押金记录请求模型")
public class DepositRecordRequest extends PageQueryRequest implements Serializable {
    @ApiModelProperty("用户id")
    private Long userId;
    @ApiModelProperty("关联的业务id")
    private Long linkId;
    @ApiModelProperty("关联的业务类型")
    private String linkType;
    @ApiModelProperty("操作类型 1增加 2扣减")
    private Integer operationType;
    @ApiModelProperty("微信支付订单id")
    private String payId;
    @ApiModelProperty("标题 1缴纳押金 2逾期归还 3书本破损 4提现")
    private Integer title;
    @ApiModelProperty("变更押金金额")
    private BigDecimal changeCashPledge;
    @ApiModelProperty("剩余押金金额")
    private BigDecimal balanceCashPledge;
    @ApiModelProperty("备注")
    private String mark;
    @ApiModelProperty("押金订单id")
    private String orderNum;

    @ApiModelProperty("openId")
    private String openId;
}
